package com.ytjj.qmyx.mall.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ReturnRegister implements Serializable {
    /**
     * id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 订单详情id
     *
     * @mbg.generated
     */
    private Integer orderInfoId;

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 修改时间
     */
    private String updateTime;

    /**
     * 订单号
     *
     * @mbg.generated
     */
    private String orderNo;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 支付状态
     *
     * @mbg.generated
     */
    private Integer isPay;

    /**
     * 支付方式
     *
     * @mbg.generated
     */
    private String paySource;

    /**
     * 订单状态
     *
     * @mbg.generated
     */
    private Integer orderStatus;

    /**
     * 订单详情状态
     *
     * @mbg.generated
     */
    private Integer orderinfoStatus;

    /**
     * 收货人姓名
     *
     * @mbg.generated
     */
    private String userName;

    /**
     * 收货人手机号
     *
     * @mbg.generated
     */
    private String userPhone;

    /**
     * 仓库名称
     *
     * @mbg.generated
     */
    private String warehouseName;

    /**
     * 产品名称
     *
     * @mbg.generated
     */
    private String productName;

    private Integer bankerId;

    /**
     * 支付价格
     *
     * @mbg.generated
     */
    private BigDecimal realTotalMoney;

    /**
     * 订单类型 0-未发货 1-拦截 2-拒收 3-丢件 4-已收货 5-其他
     *
     * @mbg.generated
     */
    private Integer orderType;

    /**
     * 原因类型 0-物流原因 1-质量原因 2-客户原因 3-仓库原因 4-客服原因 5-其他
     *
     * @mbg.generated
     */
    private Integer reasonType;

    /**
     * 具体原因
     *
     * @mbg.generated
     */
    private String specificReason;

    /**
     * 质量凭证
     *
     * @mbg.generated
     */
    private String voucher;

    /**
     * 原单号
     *
     * @mbg.generated
     */
    private String oldTradeNo;

    /**
     * 寄回单号
     *
     * @mbg.generated
     */
    private String returnTradeNo;

    /**
     * 备注
     *
     * @mbg.generated
     */
    private String remarks;

    /**
     * 图片 img 视频 video
     *
     * @mbg.generated
     */
    private String fileType;

    /**
     * 文件
     *
     * @mbg.generated
     */
    private String file;

    /**
     * 文件上传过大时，直接使用该链接
     *
     * @mbg.generated
     */
    private String url;

    /**
     * 操作人
     *
     * @mbg.generated
     */
    private String operationName;

    /**
     * 操作时间
     *
     * @mbg.generated
     */
    private Date operationTime;

    /**
     * 退款时间
     *
     * @mbg.generated
     */
    private Date refundTime;

    /**
     * 状态 0-正常 1-移除
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 邮费类型 1-自邮 2-包邮 3-其他
     *
     * @mbg.generated
     */
    private Integer postage;

    /**
     * 编辑时间(自动更新)
     */
    private Date editTime;

    private static final long serialVersionUID = 1L;

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderInfoId() {
        return orderInfoId;
    }

    public void setOrderInfoId(Integer orderInfoId) {
        this.orderInfoId = orderInfoId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }

    public String getPaySource() {
        return paySource;
    }

    public void setPaySource(String paySource) {
        this.paySource = paySource;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderinfoStatus() {
        return orderinfoStatus;
    }

    public void setOrderinfoStatus(Integer orderinfoStatus) {
        this.orderinfoStatus = orderinfoStatus;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getRealTotalMoney() {
        return realTotalMoney;
    }

    public void setRealTotalMoney(BigDecimal realTotalMoney) {
        this.realTotalMoney = realTotalMoney;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getReasonType() {
        return reasonType;
    }

    public void setReasonType(Integer reasonType) {
        this.reasonType = reasonType;
    }

    public String getSpecificReason() {
        return specificReason;
    }

    public void setSpecificReason(String specificReason) {
        this.specificReason = specificReason;
    }

    public String getVoucher() {
        return voucher;
    }

    public void setVoucher(String voucher) {
        this.voucher = voucher;
    }

    public String getOldTradeNo() {
        return oldTradeNo;
    }

    public void setOldTradeNo(String oldTradeNo) {
        this.oldTradeNo = oldTradeNo;
    }

    public String getReturnTradeNo() {
        return returnTradeNo;
    }

    public void setReturnTradeNo(String returnTradeNo) {
        this.returnTradeNo = returnTradeNo;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPostage() {
        return postage;
    }

    public void setPostage(Integer postage) {
        this.postage = postage;
    }

    public Integer getBankerId() {
        return bankerId;
    }

    public void setBankerId(Integer bankerId) {
        this.bankerId = bankerId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderInfoId=").append(orderInfoId);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", createTime=").append(createTime);
        sb.append(", isPay=").append(isPay);
        sb.append(", paySource=").append(paySource);
        sb.append(", orderStatus=").append(orderStatus);
        sb.append(", orderinfoStatus=").append(orderinfoStatus);
        sb.append(", userName=").append(userName);
        sb.append(", userPhone=").append(userPhone);
        sb.append(", warehouseName=").append(warehouseName);
        sb.append(", productName=").append(productName);
        sb.append(", realTotalMoney=").append(realTotalMoney);
        sb.append(", orderType=").append(orderType);
        sb.append(", reasonType=").append(reasonType);
        sb.append(", specificReason=").append(specificReason);
        sb.append(", voucher=").append(voucher);
        sb.append(", oldTradeNo=").append(oldTradeNo);
        sb.append(", returnTradeNo=").append(returnTradeNo);
        sb.append(", remarks=").append(remarks);
        sb.append(", fileType=").append(fileType);
        sb.append(", file=").append(file);
        sb.append(", url=").append(url);
        sb.append(", operationName=").append(operationName);
        sb.append(", operationTime=").append(operationTime);
        sb.append(", refundTime=").append(refundTime);
        sb.append(", status=").append(status);
        sb.append(", postage=").append(postage);
        sb.append(", bankerId=").append(bankerId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}